/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Graphic;

import java.io.Serializable;
import java.util.ArrayList;

/**
 *
 * @author macbook
 */
public class PositionArea implements Serializable{
    /**
	 *
	 */
	private static final long serialVersionUID = 1L;
    ArrayList<Punti> array;

    public PositionArea(){
        array=new ArrayList<Punti>();
    }

    public void CreateAreaInRiga(int x, int y){
        int i=0;
        while(i<90){
         array.add(new Punti(x+i,y));
         i=i+15;
        }
        //scostamento
        array.add(new Punti(x+i+100, y));
    }






    public ArrayList<Punti> getPositionArea() {
        return array;
    }

    public void setPositionArea(ArrayList<Punti> array) {
        this.array = array;
    }

    public int size(){
        return array.size();
    }

}
